#include <stdio.h>
#include <iostream>
#include <string>

template <class T> 
T inverted(T* array, size_t lenght){
	size_t sym;
	for( int i = 0; i < lenght/2; i++){
		sym = array[i];
		array[i] = array[lenght - 1 - i];
		array[lenght - 1 - i] = sym;
	}
}

int main()
{	
	char* str = new char [10];
	printf( "Enter the line: \n" );
	scanf_s("%d", str);
	printf("%d \n", sizeof(str));
	//inverted<char>(str, str_size);
	printf("%s \n", str);
	printf("%d \n", sizeof(str));
	delete []str;
	system("pause");
	return 0;
}// the end main


